package top.glkj.hms.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import top.glkj.hms.entity.OrderForm;

/**
 * @author : xgl
 * @version : 0.0.1
 * @date :2021/1/2 1:05
 */
public interface OrderFormDao  extends JpaRepository<OrderForm, Long>, JpaSpecificationExecutor<OrderForm> {
    /**
     * 获取订单根据订单号
     * @param number 订单号
     * @return 订单
     */
    public OrderForm findOrderFormByOrderNumber(String number);
}
